package com.boxing.service;

import com.boxing.bean.Stu;
import com.boxing.dao.StuDaoImpl;

import java.util.List;

public class StuService {
    private StuDaoImpl stuDao = new StuDaoImpl();
    public List<Stu> queryAllStu() {
        return stuDao.queryAllStu();
    }

    public boolean editStu(Stu stu) {
        return stuDao.editStu(stu);
    }

    public boolean newStu(Stu stu) {
        return stuDao.newStu(stu);
    }
}
